package com.hl.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

@SuppressWarnings("all")
public class Template implements java.io.Serializable {

	// Fields

	private Integer templateId;
	private Org org;
	private String templateName;
	private String templateVersion;
	private Date beginTime;
	private Date endTime;
	private Integer templateType;
	private Integer common;
	private String attachmenString;
	private Set contracts = new HashSet(0);

	// Constructors

	/** default constructor */
	public Template() {
	}

	/** full constructor */
	public Template(Org org, String templateName, String templateVersion, Date beginTime, Date endTime, Integer templateType, Integer common, String attachmenString, Set contracts) {
		this.org = org;
		this.templateName = templateName;
		this.templateVersion = templateVersion;
		this.beginTime = beginTime;
		this.endTime = endTime;
		this.templateType = templateType;
		this.common = common;
		this.attachmenString = attachmenString;
		this.contracts = contracts;
	}

	// Property accessors

	public Integer getTemplateId() {
		return this.templateId;
	}

	public void setTemplateId(Integer templateId) {
		this.templateId = templateId;
	}

	public Org getOrg() {
		return this.org;
	}

	public void setOrg(Org org) {
		this.org = org;
	}

	public String getTemplateName() {
		return this.templateName;
	}

	public void setTemplateName(String templateName) {
		this.templateName = templateName;
	}

	public String getTemplateVersion() {
		return this.templateVersion;
	}

	public void setTemplateVersion(String templateVersion) {
		this.templateVersion = templateVersion;
	}

	public Date getBeginTime() {
		return this.beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Date getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Integer getTemplateType() {
		return this.templateType;
	}

	public void setTemplateType(Integer templateType) {
		this.templateType = templateType;
	}

	public Integer getCommon() {
		return this.common;
	}

	public void setCommon(Integer common) {
		this.common = common;
	}

	public String getAttachmenString() {
		return this.attachmenString;
	}

	public void setAttachmenString(String attachmenString) {
		this.attachmenString = attachmenString;
	}

	public Set getContracts() {
		return this.contracts;
	}

	public void setContracts(Set contracts) {
		this.contracts = contracts;
	}

}